import request from "@/utils/request";
export function insertIntegral(data) {
  return request({
    url: "/integral/insert",
    method: "post",
    data: data
  });
}
export function updateIntegral(data) {
  return request({
    url: "/integral/update",
    method: "post",
    data: data
  });
}
export function deleteIntegral(data) {
  return request({
    url: "/integral/delete",
    method: "post",
    data: data
  });
}
export function deletesIntegral(data) {
  return request({
    url: "/integral/deletes",
    method: "post",
    data: data
  });
}
export function enableIntegral(data) {
  return request({
    url: "/integral/enable",
    method: "post",
    data: data
  });
}
export function enablesIntegral(data) {
  return request({
    url: "/integral/enables",
    method: "post",
    data: data
  });
}
export function disableIntegral(data) {
  return request({
    url: "/integral/disable",
    method: "post",
    data: data
  });
}
export function disablesIntegral(data) {
  return request({
    url: "/integral/disables",
    method: "post",
    data: data
  });
}
export function viewIntegral(params) {
  return request({
    url: "/integral/view",
    method: "get",
    params: params
  });
}
export function pageIntegral(params) {
  return request({
    url: "/integral/page",
    method: "get",
    params: params
  });
}
export function searchIntegral(params) {
  return request({
    url: "/integral/search",
    method: "get",
    params: params
  });
}
